<template>
  <div class="uploader-unsupport" v-show="!support">
    <slot>
      <a-alert message="您的浏览器不支持上传，请使用谷歌、360等主流浏览器上传!" type="error" />
    </slot>
  </div>
</template>

<script>
  import { uploaderMixin, supportMixin } from '../common/mixins'

  const COMPONENT_NAME = 'uploader-unsupport'

  export default {
    name: COMPONENT_NAME,
    mixins: [uploaderMixin, supportMixin]
  }
</script>

<style>
  .uploader-unsupport {
    position: relative;
    z-index: 10;
    overflow: hidden;
  }
</style>
